<?php

namespace App\Api\Services;
use App\Api\Models\DeliverySlipModel;
class DeliverySlipService
{

    static public function add($data){
    
        return DeliverySlipModel::add($data);
    }
    
    static public function update($condition,$data){
    
        return DeliverySlipModel::upd($condition,$data);
    }
    static public function delete($condition){
        return DeliverySlipModel::del($condition);
    }
    static public function getDeliverySlipInfo($condition){
    
        return DeliverySlipModel::getDeliverySlipInfo($condition);
    }
    
    static public function getList($condition,$dispatch_id_arr,$pageSize,$pageNo){
         
        return DeliverySlipModel::getList($condition,$dispatch_id_arr,$pageSize,$pageNo);
    }
}
